Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-7568

Hive Cli cannot execute query from files when file has BOM character

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • CLI
    • None

    Description

      1. query file with BOM
        test.sql
        <U+FEFF>select 1
        
      2. execute
        $ bin/hive -f ./test.sql
        FAILED: ParseException line 1:0 character 'Ô' not supported here
        line 1:1 character 'ª' not supported here
        line 1:2 character 'Ø' not supported here
        

      Attachments

        1. HIVE-7568.2.patch
          4 kB
          Yoonseok Woo
        2. HIVE-7568.3.patch.txt
          8 kB
          Navis Ryu
        3. HIVE-7568.patch
          2 kB
          Yoonseok Woo

        Activity

          People

            urecho Yoonseok Woo
            urecho Yoonseok Woo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: